home *** CD-ROM | disk | FTP | other *** search
/ Creative Computers / Creative Computers CD-ROM, Volume 1 (Legendary Design Technologies, Inc.)(1994).iso / shareware / intuition / dragit4.0 / install / install-dragit < prev    next >
Text File  |  1994-11-17  |  25KB  |  907 lines

  1. ;++++++++++++++++++++++++++++++++++++++++++++++++++
  2. ; $VER: Install-DragIt v4.0 (2.11.93)
  3. ; Installation script by Jan and Erik Simonson
  4. ;++++++++++++++++++++++++++++++++++++++++++++++++++
  5.  
  6. (set OSVersion      (/ (getversion) 65536))
  7. (set WBVersion      (/ (getversion "LIBS:version.library" ) 65536))
  8.  
  9. ;++++++++++++++++++++++++++++++
  10. ;Set up variables in English.
  11. ;++++++++++++++++++++++++++++++
  12.  
  13. (set #Language 0)
  14. (set LanguageID 0)
  15. (set DocID 1)
  16.  
  17. (set #LowVersion "Sorry, you need at least OS/WB version 2.0 to use DragIt")
  18.  
  19. (set #SetDirPathPrompt "Please select the directory ")
  20.  
  21. (set #DragItDirPrompt "where you want to install DragIt.")
  22. (set #DragItDirHelp
  23.   (cat "  If you want DragIt to start automatically every time your Amiga "
  24.        "starts you should not change the suggested directory "
  25.        "(SYS:WBStartup).\n  You should choose another directory for DragIt "
  26.        "if you do not wish the program to start automatically.\n"
  27.   )
  28. )
  29. (set #DragDirPrompt "where you want to install Drag.")
  30. (set #DragDirHelp
  31.   (cat "  Normally Drag, which is a preference program, should always be "
  32.        "installed in the suggested directory (SYS:Prefs).\n  If you for "
  33.        "some reason do not want it installed there, please choose another "
  34.        "directory.\n"
  35.   )
  36. )
  37. (set #SelectLanguagePrompt
  38.   (cat "Besides English, select the preferred languages in which you might "
  39.        "want to run the Drag program."
  40.   )
  41. )
  42. (set #SelectLanguageHelp
  43.   (cat "  You should select all the possible languages you want menu and "
  44.        "requester text to be displayed in.\n  At this time, the "
  45.        "alternatives to English are French and Swedish.\n\n"
  46.        "French\n  This should be selected if you want the French versions "
  47.        "of menus and requester text.\n\n"
  48.        "Swedish\n  This should be selected if you want the Swedish versions "
  49.        "of menus and requester text.\n\n"
  50.   )
  51. )
  52. (set #LanguageEnglish "English")
  53. (set #LanguageFrench "French")
  54. (set #LanguageSwedish "Swedish")
  55.  
  56. (set #AskNoviceDoc "\nDo you want to install the documentation?")
  57. (set #AskNoviceDocHelp
  58.   (cat "  Do you want to install DragIt's documentation press the \"Yes\" "
  59.        "button, if not press the \"No\" button."
  60.   )
  61. )
  62.  
  63. (set #SelectDocPrompt
  64.        "Select the languages in which you want to install the documentation.") 
  65. (set #SelectDocHelp
  66.   (cat "  You should select all the languages in which you want the "
  67.        "documentation available on your Amiga.\n  At this time, the "
  68.        "alternatives to English are French and Swedish.\n\n"
  69.        "English\n  This should be selected if you want the English "
  70.        "documentation.\n\n"
  71.        "French\n  This should be selected if you want the French "
  72.        "documentation.\n\n"
  73.        "Swedish\n  This should be selected if you want the Swedish "
  74.        "documentation.\n\n"
  75.   )
  76. )
  77.  
  78. (set #DocDirPrompt "where you want to install the documentation.")
  79. (set #DocDirHelp
  80.   (cat "  Install the documentation in a directory where it can be easely "
  81.        "reached and preferably together with the documentation for other "
  82.        "commodities.\n\n"
  83.   )
  84. )
  85.  
  86. (set #Proceed1 "You have choosen to install DragIt in the\n")
  87. (set #Proceed2 " directory.\n\nYou have also choosen to install Drag in the\n")
  88. (set #Proceed3 " directory.\n\n\Further the selected programlanguages are\n")
  89. (set #Proceed4 "\nand documentation in ")
  90. (set #Proceed5 "and no documentation will be installed.")
  91. (set #Proceed6 "will be installed in ")
  92. (set #Proceed7 "\n\nShall I proceed with the installation?")
  93. (set #ProceedHelp
  94.   (cat "  Once you press the \"Proceed\" button, the selected items will be "
  95.        "installed. This is your last chance to abort this procedure without "
  96.        "partially installing the selected files.\n\n  After you press "
  97.        "Proceed, you can use the Esc key to abort the installation "
  98.        "procedure."
  99.   )
  100. )
  101.  
  102. (set #InstallPrompt "Installing")
  103.  
  104. (set #NoLocaleMessage
  105.   (cat "\nYou do not seem to have LOCALE: assigned to the directory where "
  106.        "the localization files are stored.\nPlease install the system "
  107.        "software localization files before retrying this installation.\n\n"
  108.        "Press either the \"Proceed\" or \"Abort Install\" button to abort "
  109.        "this installation."
  110.   )
  111. )
  112. (set #NoLocaleCatalogMessage
  113.   (cat "\nThere is no  LOCALE:Catalogs  directory. This installation "
  114.        "requires that directory to be present to install the selected "
  115.        "locale support files.\n\nPress either the \"Proceed\" or \"Abort "
  116.        "Install\" button to abort this installation."
  117.   )
  118. )
  119. (set #CopyLanguage "catalog files...")
  120. (set #CopyDoc "AmigaGuide file...")
  121.  
  122. (set #ReadDoc "\nDo you want to read the documentation?")
  123.  
  124. (set #ReadDocHelp
  125.   (cat "  If you want to read the documentation for DragIt press the \"Yes\" "
  126.        "button, if you don't want to read it, press the \"No\" button.\n"
  127.   )
  128. )
  129.  
  130. (set #DocIDPrompt "Which documentation do you want to read?")
  131.  
  132. (set #DocIDHelp
  133.   (cat "  Choose the documentation which you now want to read, as a reference "
  134.        "when you configurate DragIt.\n"
  135.   )
  136. )
  137.  
  138. (set #RunDragIt "\nDo you want to run DragIt?")
  139.  
  140. (set #RunDragItHelp
  141.   (cat "  If you press the \"Yes\" button, DragIt will be executed so you "
  142.        "can take advantage of the program whithout resetting the computer."
  143.   )
  144. )
  145.  
  146. (set #RunDrag 
  147.        "\nDragIt is now running, do you want to run the preference program?")
  148.  
  149. (set #RunDragHelp
  150.   (cat "  If you press the \"Yes\" button the preference program will be "
  151.        "executed so that you can configurate DragIt to your own liking, and "
  152.        "then, if you want to, save the configurations."
  153.   )
  154. )
  155.  
  156. ;++++++++++++++++++++++++++++++
  157. ; Set up variables in French.
  158. ;++++++++++++++++++++++++++++++
  159.  
  160. (if (= @language "français")
  161. (
  162. (set #Language 1)
  163. (set LanguageID 1)
  164. (set DocID 2)
  165.  
  166. (set #LowVersion "Désolé, vous devez avoir au minimum l'OS/WB 2.0 pour faire fonctionner DragIt")
  167.  
  168. (set #SetDirPathPrompt "Choisir le répertoire où vous ")
  169.  
  170. (set #DragItDirPrompt "voulez installer DragIt.")
  171. (set #DragItDirHelp
  172.   (cat "  Si vous voulez que DragIt soit démarer automatiquement au boot de "
  173.        "l'Amiga, ne changer pas le répertoire suggéré suivant "
  174.        "(SYS:WBStartup).\n  Vous devez choisir une autre répertoire que si "
  175.        "vous ne voulez pas le départ automatique du programme.\n"
  176.   )
  177. )
  178. (set #DragDirPrompt "voulez installer le programme Drag.")
  179. (set #DragDirHelp
  180.   (cat "  Normalement le programme de préférence Drag doit être copié dans "
  181.        "le répertoire suggéré suivant (SYS:Prefs).\n  Si vous voulez pour "
  182.        "pour certaines raisons qu'il soit installé ailleur, choisisser un "
  183.        "autre répertoire.\n"
  184.   )
  185. )
  186. (set #SelectLanguagePrompt
  187.   (cat "Autre qu'anglais, choisisser les languages préférées pour l'utilisation "
  188.        "du préférence Drag."
  189.   )
  190. )
  191. (set #SelectLanguageHelp
  192.   (cat "  Vous devez choisir toutes les langues qui seront utilisées dans "
  193.        "les menus et fenêtres du programme.\n  Présentement, les alternatives à "
  194.        "l'anglais sont français et suédois.\n\n"
  195.        "Français\n  A sélectionner si vous voulez la version française des "
  196.        "menus et des textes.\n\n"
  197.        "Suédois\n  A sélectionner si vous voulez la version suédoise des "
  198.        "menus et des textes.\n\n"
  199.   )
  200. )
  201. (set #LanguageEnglish "Anglais")
  202. (set #LanguageFrench "Français")
  203. (set #LanguageSwedish "Suédois")
  204.  
  205. (set #AskNoviceDoc "\nVoulez-vous installer la documentation?")
  206. (set #AskNoviceDocHelp
  207.   (cat "  Si vous voulez installer la documentation de DragIt appuyer sur le bouton \"Oui\" "
  208.        ", sinon appuyer sur le bouton \"Non\"."
  209.   )
  210. )
  211.  
  212. (set #SelectDocPrompt
  213.        "Sélectionner les langues de la documentation à installer.") 
  214. (set #SelectDocHelp
  215.   (cat "  Vous devez choisir toutes les langues qui seront installées pour "
  216.        "la documentation du programme.\n  Présentement, les alternatives à "
  217.        "l'anglais sont français et suédois.\n\n"
  218.        "Anglais\n  A sélectionner si vous voulez la version anglaise des "
  219.        "menus et des textes.\n\n"
  220.        "Français\n  A sélectionner si vous voulez la version française des "
  221.        "menus et des textes.\n\n"
  222.        "Suédois\n  A sélectionner si vous vo